package com.yuerlive.paperplane.timeline;

import android.content.Context;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.ViewGroup;

import com.yuerlive.paperplane.data.source.DoubanMomentNewsPosts;
import com.yuerlive.paperplane.interfaze.OnRecyclerViewItemOnClickListener;

import java.util.List;

/**
 * Created by Admin on 2017/10/13.
 */

public class DoubanMomentNewsAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {
    private static final int TYPE_ITEM=0X00;
    private static final int TYPE_NO_IMG=0X01;
    @NonNull
    private Context mContext;
    @NonNull
    private List<DoubanMomentNewsPosts> mList;

    private OnRecyclerViewItemOnClickListener mListener;
    public DoubanMomentNewsAdapter(@NonNull List<DoubanMomentNewsPosts> list,@NonNull Context context){
        this.mContext=context;
        this.mList=list;
    }
    @Override
    public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        return null;
    }

    @Override
    public void onBindViewHolder(RecyclerView.ViewHolder holder, int position) {

    }

    @Override
    public int getItemCount() {
        return mList.isEmpty()?0:mList.size();
    }
}
